package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_RolePermission")
public class RolePermission implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 角色id
     */
    @Column(name = "RoleID")
    private Integer roleID;

    /**
     * 角色名称
     */
    @Column(name = "PermissionID")
    private Integer permissionID;
}
